package com.example.elysiumease.model;

import lombok.Data;

import jakarta.persistence.*;

//操作类型实体类
@Entity
@Data
@Table(name = "operation_types")
public class OperationType {
    @Id
    @Column(name = "type_id")
    private Short typeId;

    @Column(name = "type_name", nullable = false, unique = true, length = 30)
    private String typeName;
}